##
## Makefile for  in /home/massro_a//zappy-2011
## 
## Made by ancet massrouf
## Login   <massro_a@epitech.net>
## 
## Started on  Thu Jun 16 18:35:10 2011 ancet massrouf
## Last update Tue Jun 28 16:45:20 2011 el-hadji-malick-ndour dieng
##

NAME    = graph

SRCS    = main.c Init_map.c Init_map2.c

CFLAGS  = -I. -W -Wall -pedantic -lSDL -lSDL_image  -lSDL_ttf -ansi -g3

OBJS    = $(SRCS:.c=.o)

RM      = rm -f

all     : $(NAME)

$(NAME) : $(OBJS)
	$(CC) -o $(NAME) $(OBJS) $(CFLAGS)
clean   :
	$(RM) $(OBJS)

fclean  : clean
	$(RM) $(NAME)

re      : fclean all

gdb     :
	$(CC) $(SRCS) -ggdb
